﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link type="text/css" rel="stylesheet" href="CSS/public.css">
    <link type="text/css" rel="stylesheet" href="CSS/index.css">

    <script type="text/javascript" src="JS/jquery.js"></script>

    <script type="text/javascript" src="JS/index.js"></script>

</head>
<body>
    <div id="main">
    <vt:include file="../system/Head.htm" charset="utf-8" />
        <div id="content">
            <div class="banner_1">
                <a href="" style="border:0;"><img class="content_image" id="imageTitle" /></a>
                <div class="icon">
                    <ul>
                        <li class="current"><a href="#">images/banner_1_bg_1.jpg</a></li>
                        <li><a href="#">images/banner_1_bg_2.jpg</a></li>
                        <li><a href="#">images/banner_1_bg_3.jpg</a></li>
                        <li><a href="#">images/banner_1_bg_4.jpg</a></li>
                    </ul>
                </div>
            </div>
            <div class="banner_2">
                <div class="banner_2btn">
                    <input id="leftbtn" class="imgBtn" type="button" /></div>
                <div class="middlecontent">
                 <vt:foreach from="$heardLists" item="heardlist" index="i">
                    <dl>
                        <dt>
                        <a href="ShowPage.aspx?id={$heardlist.id}">
                          <strong>{$heardlist.ShowTitle}</strong><span>{$heardlist.NodeName}</span>
                        </a>
                        </dt>
                        <dd>
                       <vt:function var="ImageAtt" method="GetModelByCoumn" type="GPI.Action.Find" args="t_dictionary" args="Nodeid" args="$heardlist.id" args="YES" /> 
                        <img alt="" src="{$ImageAtt.ImagePath}" />
                            <ol type="1">
                                <vt:function var="heardCH" method="GetModelByCoumn" type="GPI.Action.Find" args="t_node" args="ParentID" args="$heardlist.id" args="YES" /> 
                                <vt:function var="newsLists" method="GetNewLists" type="GPI.Action.NewAction"  args="$heardCH.id" args="4" /> 
                                  <vt:foreach from="$newsLists" item="newsList" index="i">
                                <li><a href="New.aspx?id={$newsList.id}">{$newsList.NewTitle length="40" appendtext="..."}</a></li>
                                </vt:foreach>
                            </ol>
                        </dd>
                    </dl>
                </vt:foreach>
                </div>
                <div class="banner_2btn imgBtn">
                    <input id="rightbtn" class="imgBtn" type="button" /></div>
            </div>
            <div class="banner_3">
             <vt:foreach from="$heardLists" item="heardlist" index="i">
                <dl>
                    <dt>
                        <h2>
                            {$heardlist.ShowTitle}</h2>
                        <h4>
                           {$heardlist.NodeName}</h4>
                        <a href="ShowPage.aspx?id={$heardlist.id}">
                            <img alt="" src="images/banner_3_title_2.gif" />
                        </a></dt>
                    <dd>
                    <vt:function var="newModel" method="GetModelByNode" type="GPI.Action.NewAction" args="$heardlist.id" /> 
                        <img alt="" src="{$heardlist.NodeImage}">
                        <a href="New.aspx?id={$newModel.id}">
                            <h3>
                            {$newModel.NewTitle length="60" appendtext="..."}</h3>
                            {$newModel.description length="200" appendtext="......"}</a>
                    </dd>
                    <dd>
                        <div class="tab-hd">
                        <vt:function var="heardCH" method="GetTableByColumn" type="GPI.Action.Find" args="t_node" args="ParentID" args="$heardlist.id" args="YES" /> 
                        <vt:foreach from="$heardCH" item="chh" index="c">
                         <vt:if var="c" value="1">
                            <a name="Tab_{$chh.ID}" href="ShowPage.aspx?id={$chh.id}" class="current">{$chh.ShowTitle}</a> 
                              <vt:else />
                            <a name="Tab_{$chh.ID}" href="ShowPage.aspx?id={$chh.id}">{$chh.ShowTitle}</a> 
                          </vt:if>
                         </vt:foreach>
                            </div>
                       <vt:foreach from="$heardCH" item="chh" index="c">
                       <vt:if var="c" value="1">
                        <ul name="Tab_{$chh.ID}">
                           <vt:function var="newsLists"  method="GetNewLists" type="GPI.Action.NewAction"  args="$chh.ID" args="6" /> 
                           <vt:foreach from="$newsLists" item="newsList" index="i">
                                <li><a href="New.aspx?id={$newsList.id}">{$newsList.NewTitle  length="20" appendtext="..."}</a></li>
                          </vt:foreach>
                        </ul>
                        <vt:else />
                        <ul name="Tab_{$chh.ID}" class="displayDiv">
                             <vt:function var="newsLists"  method="GetNewLists" type="GPI.Action.NewAction"  args="$chh.ID" args="6" /> 
                           <vt:foreach from="$newsLists" item="newsList" index="i">
                                <li><a href="New.aspx?id={$newsList.id}">{$newsList.NewTitle  length="20" appendtext="..."}</a></li>
                          </vt:foreach>
                        </ul>
                        </vt:if>
                       </vt:foreach>
                    </dd>
                </dl>
           
           </vt:foreach>
            
            </div>
        </div>
       <vt:include file="../system/Foot.htm" charset="utf-8" />
    </div>
</body>
</html>